// MainActivity.kt
package com.sanji.audio_test

import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine

class MainActivity : FlutterActivity() {
    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        
        // 注册拨号插件
        flutterEngine.plugins.add(DialerPlugin())
        
        // 注册文件选择插件
        flutterEngine.plugins.add(FileUriHandlerPlugin())

        // 注册偏好设置插件
        flutterEngine.plugins.add(PreferencesPlugin())
    }
}